﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Core.Pagination;
using MvcEngine.Gallery.Models;
using MvcEngine.Core.Base;

namespace MvcEngine.Gallery.Managers
{
    public interface IGalleryImageManager
    {
        void DeleteImage(Guid imageId);
        void DeletePosts(Guid galleryId);
        IPagination<GalleryImage> GetImagesByCategory(Guid categoryId, LoadOptions options);
        IPagination<GalleryImage> GetImagesByGallery(Guid galeryId, LoadOptions options);
        GalleryImage GetImage(Guid imageId);
        void SaveImage(GalleryImage image, IList<GalleryImageCategory> categories);
    }
}
